package fr.afcepf.atod21.brigade.business;

import fr.afcepf.atod21.brigade.business.interfaces.VehiculeBusiness;
import fr.afcepf.atod21.brigade.dao.BasicDao;
import fr.afcepf.atod21.brigade.entity.Vehicule;

public class VehiculeBusinessImpl implements VehiculeBusiness {
	
	BasicDao<Vehicule> daoVehicule;

	public void setDaoVehicule(BasicDao<Vehicule> daoVehicule) {
		this.daoVehicule = daoVehicule;
	}

	@Override
	public Vehicule getVehicule(int id) {
		return daoVehicule.read(id);
	}

}
